﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace WooCoo.ObjectModel.Validation
{
    /// <summary>
    /// 规则验证异常类
    /// </summary>
    [Serializable()]
    public class ValidationException : Exception
    {

        public ValidationException()
        {

        }

        public ValidationException(string message)
            : base(message)
        {

        }

        public ValidationException(string message, Exception innerException)
            : base(message, innerException)
        {

        }

#if !SILVERLIGHT
        protected ValidationException(System.Runtime.Serialization.SerializationInfo info,
            System.Runtime.Serialization.StreamingContext context)
            : base(info, context)
        {

        }
#endif
    }
}
